<%
/**
 * exception 系统异常页
 * 
 * @author  李荣华
 * @version v1.0
 * @date    2018-01-06
 * @since   JSP 2.3.1
 */
%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="at" uri="http://www.jketing.com/at"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>系统异常</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta content="no-cache" http-equiv="Pragma"/>
		<meta content="no-cache" http-equiv="Cache-Control"/>
		<meta content="0" http-equiv="Expires"/>
		<meta name="GENERATOR" content="MSHTML 8.00.6001.18854"/>
		<link rel="stylesheet" type="text/css" href="<at:url css="exception.css"/>" />
		<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/jquery.js"></script>
		<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/common.js"></script>
		<script language="javascript">
			//查看错误的显示隐藏
			function errorInformation(){
				if(zw.style.display==''){
					yy1.value="显示";
					zw.style.display='none';
				}else{
					yy1.value="隐藏";
					zw.style.display='';
				}
			}
			
			//错误明细的显示隐藏
			function errorList(){
				if(wz.style.display==''){
					xx1.value="显示";
					wz.style.display='none';
				}else{
					xx1.value="隐藏";
					wz.style.display='';}
			}

		</script>
	</head>
	<body class="erorr_bg">
		<div class="erorr_top">
		    <h1>异常提示</h1>
		    <div class="erorr_img">
		    	<img src="<at:url image='exception/face_pic.png'/>" />
		    </div>
		    <p>异常描述</p>
		    <div class="erorr_an">
			    <div class="erorr_blak float_L"><a href="#" onclick="javascript:history.back();">回退</a></div>
			    <div class="erorr_sech float_R"><a href="###" id="yy1" value="隐藏" onClick="errorInformation()">查看异常</a></div>
		    </div>
		</div>
		<div class="erorr_main" id="zw" style="display:none">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>
						<table class="exp_infor_01" width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="12%">
									异常代码:
								</td>
								<td width="88%">
									${sessionScope.errorCode}
								</td>
							</tr>
							<tr>
								<td>
									异常描述:
								</td>
								<td>
									${sessionScope.errorDescribe}
								</td>
							</tr>
							<tr>
								<td>
									异常类:
								</td>
								<td>
									${sessionScope.exceptionClass}
								</td>
							</tr>
							<tr>
								<td>
									异常原因:
								</td>
								<td>
									${sessionScope.CausedBy}
								</td>
							</tr>
							<tr>
								<td>
									解决方案:
								</td>
								<td>
									${sessionScope.resolveWay}
								</td>
							</tr>
							<tr class="erorr_main_tr">
								<td colspan="2">
									<div class="other_infor_down">
										<div class="other_infor_down_text" id="xx1" value="隐藏" onClick="errorList()">
											异常明细
										</div>
									</div>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
		<div class="erorr_bottom" id="wz" style="display:none">
		 详细信息：					
			<br />
			${sessionScope.errorStackTrace}
		</div>
	</body>
</html>
